﻿using System;
using EkStudio.com.bean.xml.reflection;
using EkStudio.com.bean.xml.RootInterface;

namespace EkStudio.com.bean.xml.BillReflect
{
    public class BillRefectDataNodeWhereItem: BillObjectInterface
    {
        

        [Xml]
        public string PType
        {
            get { return pType; }
            set { pType = value; }
        }

        [Xml]
        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        [Xml]
        public string Column
        {
            get { return column; }
            set { column = value; }
        }
        [Xml]
        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }
        [Xml]
        public string Eqmode
        {
            get { return eqmode; }
            set { eqmode = value; }
        }
        [Xml]
        public string ReflectKey
        {
            get { return reflectKey; }
            set { reflectKey = value; }
        }
        [Xml]
        public string ReflectCaption
        {
            get { return reflectCaption; }
            set { reflectCaption = value; }
        }
        [Xml]
        public string ConstValue
        {
            get { return constValue; }
            set { constValue = value; }
        }
        [XmlTransient]
        public object ParentBean
        {
            get
            {
                return null;
            }

            set
            {
            }
        }

        public object Clone()
        {
            BillRefectDataNodeWhereItem clone = new BillRefectDataNodeWhereItem();
            clone.PType = PType;
            clone.Key = Key;
            clone.Caption = Caption;
            clone.Column = Column;
            clone.Eqmode = Eqmode;
            clone.ReflectKey = ReflectKey;
            clone.ReflectCaption = ReflectCaption;
            clone.ConstValue = ConstValue;
            return clone;
        }

        private string pType = "变量";
        private string key = "";
        private string column = "";
        private string caption = "";
        private string eqmode = "=";
        private string reflectKey = "";
        private string reflectCaption = "";
        private string constValue = "";
    }
}
